
<h3>Dormitory Stuffs</h3>
<?php $row = $info->row();?>
<div id="dormitorystuffs">

	<h3><a href="#section1">View Payment</a></h3>
	<div>
		<form name="paymentform" method="post" onSubmit="return OnSubmitForm3();">
		<h3 class="centeredtext"><img src="<?php echo base_url(); echo "/application/images/relic/payment.png"; ?>" height="30px" align="left"/>Information</h3>
		<table class="centeredtable">
			<tr><td width="120px"></td><td width="300px"></td></tr>
			<tr><td>Payment Type:</td><td><input type="text" disabled="true" class="longobject2" value="<?php echo $row->type;?>"/></td></tr>
			<tr><td>OR Number:</td><td><input type="text" disabled="true" class="longobject2" value="<?php echo $row->or_number;?>"/></td></tr>
			<tr><td>From Period:</td><td><input type="text" id="datepicker" class="longobject2" name="from_period" value="<?php echo $row->from_period;?>"/></td></tr>
			<tr><td>To Period:</td><td><input type="text" id="datepicker2" class="longobject2" name="to_period" value="<?php echo $row->to_period;?>"/></td></tr>
			<tr><td>Amount:</td><td><input type="text" class="longobject2" name="amount" value="<?php echo $row->amount;?>"/></td></tr>
			<tr><td>Date Paid:</td><td><input type="text" id="datepicker3" name="date_paid" class="longobject2" value="<?php echo $row->date_paid;?>"/></td></tr>
			<tr><td>Remarks:</td><td><textarea class="longobject2" rows="2" name="remark"/><?php echo $row->remark;?></textarea></td></tr>
		</table>
			<br/>
			<input type="hidden" value="<?php echo $row->student_number;?>" name="student_number"/>
			<input type="hidden" value="<?php echo $row->or_number;?>" name="or_number"/>
			<input type="hidden" value="<?php echo $row->type;?>" name="type"/>
			<input type="submit" value="Save Changes" class="shortobject" onClick="document.pressed=this.value"/>
			<input type="submit" value="Back" class="shortobject" onClick="document.pressed=this.value"/>
		</form>
	</div>
	
</div><!-- End dormitorystuffs -->
